<?php
namespace app\admin\validate;
use think\Validate;
class Login extends Validate{

    protected $rule=[
       'captcha_code'=>'require|captcha'
    ];

    protected $message=[
        'captcha_code.require'=>'请输入验证码',
        'captcha_code.captcha'=>'验证码错误'
    ];

}
